// @ts-ignore
/* eslint-disable */
import request from "@/request";

/** 此处后端没有提供注释 POST /order/edit */
export async function editOrderStatus(
  body: API.OrderEditDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean>("/order/edit", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 POST /order/list/page/vo */
export async function listOrdersVoByPage(
  body: API.OrdersQueryDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponsePageOrders>("/order/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
